/********************************************************************
	TABAL ENGINE - 2012/10/29
	author:		Marc Cuscullola
	
	purpose:	Defines different defines for the project
*********************************************************************/
#pragma once

#ifndef __BASE__INCLUDED_H__
#define __BASE__INCLUDED_H__

#include <assert.h>
#include <stdio.h>

#define UNUSED_VAR(x) x=x;
#define CHECKED_DELETE(x) if(x){ delete x; x=NULL; }
#define CHECKED_RELEASE(x) if(x){ x->Release(); x=NULL; }
#define CHECKED_DELETE_ARRAY(x) if(x){ delete [] x; x=NULL; }

#endif //__BASE__INCLUDED_H__